/*
 * File:    JavascriptRenderHook.java
 * Created: 14-Oct-2007
 * Version: $Id$ 
 *
 * COPYRIGHT (C) 2007, Bitgate Software, LLC.  All Rights Reserved.
 *
 * software@bitgatesoftware.com
 */

package com.bitgate.util.service.protocol.http.render.hook;

import com.bitgate.util.service.protocol.http.HttpClientContext;
import com.bitgate.util.service.protocol.http.render.RenderHookException;
import com.bitgate.util.service.protocol.http.render.RenderHookInterface;
import com.bitgate.util.service.protocol.http.render.RenderHookResult;

/**
 * This class uses the internal scripting API to render a page against the internal Javascript language that is included in
 * the Java 6 scripting bundle.
 * 
 * @author kenji
 * @since 0.6.0
 */
public class JavascriptRenderHook implements RenderHookInterface
{
	public RenderHookResult renderPage(String file, HttpClientContext hcContext) throws RenderHookException
	{
		throw new RenderHookException("Sorry, JavaScript render hook is not yet completed.");
	}
}